import { ref, computed, reactive } from "vue";
import { defineStore } from "pinia";

export const useCounterStore = defineStore(
  "counter",
  () => {
    //用户信息
    const UserInfo = reactive({
      UserName: "",
      RoleName: "",
      ToKen: "",
      UserPwd:""
    });
    return { UserInfo };
  },
  {
    persist: true, //开启持久化
  }
);
